#!/bin/sh

docker run \
-p 3306:3306 \
--restart=unless-stopped \
--privileged=true \
--name mysql \
-v /usr/local/docker/mysql/conf:/etc/mysql \
-v /usr/local/docker/mysql/logs:/var/log/mysql \
-v /usr/local/docker/mysql/data:/var/lib/mysql \
-v /etc/localtime:/etc/localtime \
-e MYSQL_ROOT_PASSWORD=123456 \
-d mysql

#docker run -itd --name redis-test -p 6379:6379 redis

#docker run -itd --name mongo -p 27017:27017 mongo --auth
